import http from '@/base/api/public'
let service = require('@/../config/serviceList')
let sysConfig = require('@/../config/sysConfig')
let apiPre = sysConfig.apiPre

export default {
  getData (params) {
    return http.requestGet(apiPre + service.服务名 + '/index/getData', params)
  },
  postData (params) {
    return http.requestPost(apiPre + service.服务名 + '/index/post', params)
  },
  delData (params) {
    return http.requestDelete(apiPre + service.服务名 + '/index/del', params)
  },
  putData (params) {
    return http.requestPut(apiPre + service.服务名 + '/index/put', params)
  },

  uugetData (params) {
    return http.requestGet(apiPre + service.服务名 + '/uu/getData', params)
  },
  uupostData (params) {
    return http.requestPost(apiPre + service.服务名 + '/uu/post', params)
  },
  uudelData (params) {
    return http.requestDelete(apiPre + service.服务名 + '/uu/del', params)
  },
  uuputData (params) {
    return http.requestPut(apiPre + service.服务名 + '/uu/put', params)
  },
        

  ookgetData (params) {
    return http.requestGet(apiPre + service.服务名 + '/ook/getData', params)
  },
  ookpostData (params) {
    return http.requestPost(apiPre + service.服务名 + '/ook/post', params)
  },
  ookdelData (params) {
    return http.requestDelete(apiPre + service.服务名 + '/ook/del', params)
  },
  ookputData (params) {
    return http.requestPut(apiPre + service.服务名 + '/ook/put', params)
  },
        
}